<?php
session_start();
require "../../../global.php";//$dirname."/".
require RootDir."/"."inc/config.php";
require RootDir."/"."inc/Uifunction.php";
require RootDir."/".$SystemConest[1]."/UIFunction/adminClass.php";
require RootDir."/".$SystemConest[1]."/system/Config.php";
require RootDir."/".$SystemConest[1]."/system/menusys/function.php";
require "function.php";

$mypage=new RsPage();
//权限检查

$TableName= $mypage->getTableName($MenuId);
CheckRule($MenuId,$mypage,$TableName,"");//检查登陆权限



if(strlen($MenuId)==0) die;
$CurrPage=$_REQUEST["CurrPage"];

?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分类管理</title>
<link href="../../Inc/Css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<?php
$configlist=GetListConfig($mypage,$MenuId);
$configarr=explode(",",$configlist);
$pagecount=$configarr[2]==""?500:$configarr[2];
if(!is_numeric($pagecount)) $pagecount=500;

?>
<p><a href="../menusys/Sys_Add.php?MenuId=<?php echo $_REQUEST["MenuId"];?>" target="_self"  class="Link12">添加<?php echo $ArrListConfig[3];?></a>
 <table width="99%" align="Left" border="0" cellspacing="1"  class="YKTtable" >

<tr ><? echo  getTitle($mypage,$_GET["MenuId"]);?></tr>
<?
ClassSys_ShowClass1List($mypage,$_GET["MenuId"],"0",1,1,$pagecount);
   
?>
 <tr>
  <td colspan="5" style="background-color:#FFF"><div align="right" style="margin-right:50px;"><?php echo $mypage->showFenPage();?></div></td>
 </tr>
</table>
</body>
</html>
